#ifndef SEARCHTHREAD_H
#define SEARCHTHREAD_H

#include "search.h"
#include <QThread>
#include <QList>
#include <QSqlDatabase>
#include <QSqlQuery>

class SearchThread : public QThread
{
    Q_OBJECT

    QString file_name;
    QString subject;

public:
    void set_configure(QString file_name, QString subject);
    void run();

signals:
    void send_list(QVariant v);
};

#endif // SEARCHTHREAD_H
